// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import store from './store.js'
import { AlertPlugin } from 'vux'

Vue.use(AlertPlugin)
Vue.prototype.http = axios; 

Vue.filter("currency",function(value){
  var r = (value/10000).toFixed(0);
  return r+"万"
})

// 阻止vue在启动时，生成生产提示
Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
